package com.tydic.order.domain.bo;

import com.tydic.common.core.validate.AddGroup;
import com.tydic.common.core.validate.EditGroup;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
public class OrderBatchBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 8899322386014781901L;
    /**
     * ID列表
     */
    @NotEmpty(message = "ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private List<String> ids;

    private boolean enable;
}
